<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>demo</title>
    <!-- 引入 layui.css -->
    <link rel="stylesheet" href="/layui/css/layui.css">
    <!-- 引入 layui.js -->
    <script src="/layui/layui.js"></script>
    <!--引入看板娘-->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome/css/font-awesome.min.css">
    <script src="/lib/live2d/autoload.js"></script>
</head>
<body>
<p>
    此页面用来做模拟测试
</p>
<button class="layui-btn layui-btn-radius" onclick="alert('屏幕宽：'+window.screen.width)">查看屏幕宽度</button>
<button class="layui-btn layui-btn-radius" onclick="alert('屏幕高：'+window.screen.height)">查看屏幕高度</button>

<script>
    let layer = layui.layer;
    let email_pattern=/^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/;
    layer.msg(email_pattern.test("a!jiohiofhio@qqcom")+"...");
</script>
</body>
</html>